Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
15 lines (12 loc) · 426 Bytes

1.14.11 - undefined symbol: __sync_bool_compare_and_swap_4.md

File metadata and controls

15 lines (12 loc) · 426 Bytes

undefined symbol: __sync_bool_compare_and_swap_4

运行swoole程序时出现此错误,说明操作系统gcc版本过低,请升级gcc至4.4以上版本。

/usr/local/php56/bin/php: symbol lookup error: /usr/local/php56/lib/php/extensions/no-debug-non-zts-20131226/swoole.so: undefined symbol: __sync_bool_compare_and_swap_4

然后重新编译安装swoole

phpize
./configure
make clean
make install